package com.arpgalaxy.generator.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author arpgalaxy
 * @email 13605560342@163.com
 * @date 2021/3/8 0008
 * @Description
 */
//@PropertySource("classpath:myapplication.properties")
@ConfigurationProperties(prefix = "path-attr")
@Component
public class Properties {
    private String IP;
    private String port;
    private String dbType;
    private String dbNames;
    private String username;
    private String password;
    private String template;
    private String target;
    private String project;
    private String module;
    private String package1;
    private String package2;
    private String package3;
    private String tablePrefixes;
    private Table table;


    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getIP() {
        return IP;
    }

    public void setIP(String IP) {
        this.IP = IP;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String getDbNames() {
        return dbNames;
    }

    public void setDbNames(String dbNames) {
        this.dbNames = dbNames;
    }

    public String getTablePrefixes() {
        return tablePrefixes;
    }

    public void setTablePrefixes(String tablePrefixes) {
        this.tablePrefixes = tablePrefixes;
    }

    public Table getTable() {
        return table;
    }

    public void setTable(Table table) {
        this.table = table;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }
    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getPackage1() {
        return package1;
    }

    public void setPackage1(String package1) {
        this.package1 = package1;
    }

    public String getPackage2() {
        return package2;
    }

    public void setPackage2(String package2) {
        this.package2 = package2;
    }

    public String getPackage3() {
        return package3;
    }

    public void setPackage3(String package3) {
        this.package3 = package3;
    }
}
